package com.share.shareplatform.sharegoods.service;


import com.share.shareplatform.pojo.Brand;

import java.util.List;

public interface BrandService {
    Long addOne(Brand brand);
    Integer updateOne(Brand brand);
    Integer deleteOneById(Long id);
    Integer deleteAllByIds(Long[] ids);
    Brand findOneByName(String name);
    Brand findOneById(Long id);
    List<Brand> findAll();
}
